<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
        <div class="panel-body">
        <div class="col-sm-12">
            <div class="row mt10">
                <div class="col-sm-2 pull-right">
                    <button class="btn btn-block btn-info" ng-click="completeinfo()">完善企业信息</button> 
                </div>
            </div>       
        </div>
        </div>
    </div>
        <!-- searchArea -->
    <div class="panel panel-default">
        <div class="panel-body">
            <table class="table table-condensed table-hover table-bordered">
                <thead>
                    <tr>
                        <th class="col-md-4 text-center">项目名称</th>
                        <th class="col-md-4 text-center">项目类别</th>
                        <th class="col-md-4 text-center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="info in a">
                        <td class="text-center">{{info.project_name}}</td>
                        <td class="text-center">{{info.project_type}}</td>
                        <td class="text-center">
                            <a type="button" class="btn btn-info btn-xs" ng-show="info.project_state_name=='审核中' || info.project_state_name=='市责任处已通过' || info.project_state_name=='规划处已通过'" ng-click="toinfo($index)">查看</a>  
                            <a type="button" class="btn btn-warning btn-xs" ng-show="info.project_state_name!='草稿'&&info.project_state_name!='申报失败'" ng-click="progress($index)">项目进度</a> 
                            <a type="button" class="btn btn-info btn-xs" ng-show="info.project_state_name=='申报失败'" ng-click="reapply($index)">重新申请</a>                                         
                            <a type="button" class="btn btn-danger btn-xs" ng-show="info.project_state_name=='申报失败' ||info.project_state_name=='草稿'" ng-click="delete($index)">删除</a>
                            <!-- <a type="button" class="btn btn-info btn-xs" ng-show="info.project_state_name=='市责任处已通过'||info.project_state_name=='规划处已通过'||info.project_state_name=='废弃'" ng-click="complete($index)">完善</a> -->
                            <a type="button" class="btn btn-info btn-xs" ng-show="info.project_state_name=='草稿'||info.project_state_name=='申报失败'" ng-click="edit($index)">编辑</a> 
                            <a type="button" class="btn btn-success btn-xs" ng-show="info.project_state_name=='草稿'" ng-click="apply($index)">申请</a>   
                            <p ng-show="info.project_state_name=='废弃'">项目已淘汰,请重新申报</p>    
                            <p ng-show="info.recommend_city=='2'">责任总室已退回</p>                                           
                        </td>
                        <!-- <td class="text-center"style="width: 15%;text-align:center;vertical-align:middle;" ng-show="info.project_state_name=='草稿'">                       
                            <a type="button" class="btn btn-info btn-xs" ng-click="edit($index)">编辑</a>                 
                            <a type="button" class="btn btn-danger btn-xs" ng-click="delete($index)">删除</a>                      
                            <a type="button" class="btn btn-success btn-xs" ng-click="apply($index)">申请</a>                                              
                        </td> -->
                        <!-- <td class="text-center"style="width: 100%;text-align:center;vertical-align:middle;" ng-show="info.project_state_name=='审核中'">                      
                            <a type="button" class="btn btn-info btn-xs" ng-click="toinfo($index)">查看</a>  
                            <a type="button" class="btn btn-warning btn-xs" ng-click="progress($index)">项目进度</a>                    
                        </td> 
                        <td class="text-center"style="width: 100%;text-align:center;vertical-align:middle;" ng-show="info.project_state_name=='申报失败'">                       
                                <a type="button" class="btn btn-info btn-xs" ng-click="reapply($index)">重新申请</a>                                         
                                <a type="button" class="btn btn-danger btn-xs" ng-click="delete($index)">删除</a>
                                <a type="button" class="btn btn-warning btn-xs" ng-click="progress($index)">项目进度</a>                                                     
                        </td>
                        <td class="text-center"style="width: 100%;text-align:center;vertical-align:middle;" ng-show="info.project_state_name=='市责任处已通过'||info.project_state_name=='规划处已通过'">                   
                                <a type="button" class="btn btn-info btn-xs" ng-click="complete($index)">完善</a>
                                <a type="button" class="btn btn-warning btn-xs" ng-click="progress($index)">项目进度</a>                                                 
                        </td> 
                        <td class="text-center"style="width: 100%;text-align:center;vertical-align:middle;" ng-show="info.project_state_name=='废弃'">                   
                                <a type="button" class="btn btn-info btn-xs" ng-click="complete($index)">完善</a>
                                <a type="button" class="btn btn-warning btn-xs" ng-click="progress($index)">项目进度</a>                                                 
                        </td>   -->
                    </tr>
                </tbody>
            </table>
            <div class="text-right">
                 <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="pageChanged()" previous-text="上一页" next-text="下一页"
                    first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                    class="m-t-none m-b">
                </pagination>
            </div>
        </div>
    </div>
    
</div>
            
    